import { PickType } from '@nestjs/swagger';
import { EmployeeEntity } from '../entities/employee.entity';

export class CreateEmployeeDto extends PickType(EmployeeEntity, [
  'name',
  'employeeCode',
  'idNumber',
  'phone',
  'email',
  'position',
  'hireDate',
  'status',
  'departmentId',
  'userId',
]) {}
